
import { http, Method } from "@/utils/request.js";
import api from '@/config/api.js';
export function getReleaseList(){
	return http.request({
	  url: `car_monthly_rental/getReleaseList`,
	  method: Method.GET,
	});
}
export function addReleasePlateNumber(params){
	return http.request({
	  url: `car_monthly_rental/addRelease`,
	  method: Method.POST,
	  data:params,
	});
}
export function getList(){
	return http.request({
	  //url: `jiangnan/carMonthlyRental/getList`,
	  url: `car_monthly_rental/getList`,
	  method: Method.GET,
	});
}

export function addPlateNumber(params){
	return http.request({
	  //url: `jiangnan/carMonthlyRental/add`,
	  url: `car_monthly_rental/add`,
	  method: Method.POST,
	  data:params,
	});
}
export function deletePlateNumber(params){
	return http.request({
	  url: `car_monthly_rental/delete`,
	  method: Method.POST,
	  data:params,
	});
}

export function getPklotList(){
	return http.request({
	  url: `pklot/getList`,
	  method: Method.GET,
	});
}
